﻿ <!--顶部导航栏-->
<nav class="navbar navbar-default" role="navigation">
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-sm-6 col-xs-6">
                <img class="pull-left brand-img" alt="brand" src="img/logo.png" />
                <h3 class="navbar-text"> {{pagename}}</h3>
            </div>
            <div class="col-md-6 col-sm-6 col-xs-6">
                <div class="navbar-right">
                    <a class="btn btn-default navbar-btn" style="padding: 6px 55px;background-color: #ff9900" href="reportWork.html" ng-if="pagename == '开工'">
                        <span class="hidden-xs">报工</span>
                    </a>
                    <a class="btn btn-default navbar-btn" style="padding: 6px 55px;background-color: #ff9900" href="claimWork.html" ng-if="pagename == '报工'">
                        <span class="hidden-xs">开工</span>
                    </a>
                    <button class="btn btn-default navbar-btn">
                        <span class="glyphicon glyphicon-user">
                            {{userinfo.user.properties.name}}
                        </span>
                    </button>
                    <a class="btn btn-default navbar-btn" href="login.html">
                        <span class="glyphicon glyphicon-log-out">
                            <span class="hidden-xs">切换用户</span>
                        </span>
                    </a>
                    <a class="btn btn-default navbar-btn" href="index.html">
                        <span class="glyphicon glyphicon-home">
                            <span class="hidden-xs">回首页</span>
                        </span>
                    </a>
                </div>
            </div>
        </div>
    </div>
</nav>
